package cn.emove.modular.system.mapper;

import cn.emove.modular.system.entity.Payment;
import cn.emove.modular.system.entity.Picking;
import cn.emove.modular.system.model.PickingDto;
import cn.stylefeng.roses.core.datascope.DataScope;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PickingMapper extends BaseMapper<Picking> {
    /**
     * 根据条件查询缴费列表
     */
    Page<Map<String, Object>> selectPickings(@Param("page") Page page, @Param("dataScope") DataScope dataScope, @Param("pickingNo") String pickingNo, @Param("orderNo") String orderNo, @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("lackMaterialsFlag") String lackMaterialsFlag,@Param("shopAdr") String shopAdr,@Param("materialDescribe") String materialDescribe);

    List<Map<String, Object>> selectMaterialData();

    List<PickingDto> selectAllPickings(@Param("pickingNo")String pickingNo,@Param("orderNo") String orderNo,@Param("beginTime") String beginTime,@Param("endTime") String endTime,@Param("lackMaterialsFlag") String lackMaterialsFlag,@Param("shopAdr") String shopAdr,@Param("materialDescribe") String materialDescribe);
}
